<?php
// ++ configuration
if($lang=='v'){
	$configuration_id=1;
}else{
	$configuration_id=2;
}

$sql = "SELECT * FROM ".pre_table."configuration WHERE configuration_id='".$configuration_id."'";
$rs = recordset($sql);

$xtpl->assign("title", $rs['configuration_title']);
$xtpl->assign("metakeyword", $rs['configuration_metakeyword']);
$xtpl->assign("metadescription", $rs['configuration_metadescription']);
$xtpl->assign("company", $rs['configuration_company']);
$xtpl->assign("address", $rs['configuration_address']);
$xtpl->assign("email", $rs['configuration_email']);
$xtpl->assign("phone", $rs['configuration_phone']);
$xtpl->assign("fax", $rs['configuration_fax']);
$xtpl->assign("copyright", $rs['configuration_copyright']);
$xtpl->assign("support", $rs['configuration_support']);

$configuration_bgdestination = $rs['configuration_bgdestination']?$rs['configuration_bgdestination']:'';
$configuration_bgtour = $rs['configuration_bgtour']?$rs['configuration_bgtour']:'';
$configuration_bghotel = $rs['configuration_bghotel']?$rs['configuration_bghotel']:'';
$configuration_bgother = $rs['configuration_bgother']?$rs['configuration_bgother']:'';
$configuration_bgdaytrip = $rs['configuration_bgdaytrip']?$rs['configuration_bgdaytrip']:'';
$configuration_bghome = $rs['configuration_bghome']?$rs['configuration_bghome']:'';

$configuration_contact = $rs['configuration_contact'];

$email_admin = $rs['configuration_email'];

// -- configuration

if(isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO']){
	$arrPath = explode( '/', $_SERVER['PATH_INFO']); 
}else{
	$arrPath = explode( '/', $_SERVER['ORIG_PATH_INFO']); 
}



// assign
$xtpl->assign("const_Web_Url", const_Web_Url);
$xtpl->assign("theme", theme);

?>